﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using OntologyUtility;
using OntologyUtility.Xml;
using System.Xml;

namespace OntologyUtility.Interfaces 
{
    [XmlNodeAttribute]
    public interface IWidgetWithItems : IWidget
    {
        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        OntologiesNodes OntologiesNodes { get; set; }

        [XmlNodeTypeAttribute(XmlNodeType.Element)]
        Node Node { get; set; }

        void update(List<Node> nodes);
        void update();
    }

}
